//
//  ProductDetailCell5.m
//  FloatClouds
//
//  Created by 黄威 on 16/9/10.
//  Copyright © 2016年 黄威. All rights reserved.
//

#import "ProductDetailCell5.h"

@implementation ProductDetailCell5

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{

    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];

    if (self) {
        
        self.button = [BaseButton buttonWithType:UIButtonTypeCustom];
        self.button.frame = CGRectMake( [UIScreen mainScreen].bounds.size.width * 0.1 ,30,[UIScreen mainScreen].bounds.size.width * 0.8 ,30);
        [self.button.layer setMasksToBounds:YES];
        [self.button.layer setCornerRadius:5.0];
        [self.button setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
        self.button.backgroundColor = [UIColor colorWithRed:18.0 / 255 green:86.0 / 255 blue:138.0 / 255 alpha:1];
        [self.button setTitle:@"让我说几句" forState:UIControlStateNormal];
        [self.contentView addSubview:self.button];
        
        
    }
    
    
    return self;

}


@end
